<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">    
    <title>create_bid</title>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>  
  <body>
  	<s:include value="/include/header.jsp"></s:include>
  	<s:if test="%{#session.userId != null}">
    <s:form action="user/create_bid.ra">		
		<input type="hidden" name="newBD_trId" id="newBD_trId" value="<s:property value="newBD_trId" />"/>
		<table>
			<tr><td>
			<s:radio label="%{getText('record.BType')}" name="bd_type" list="bd_types"  required="true" requiredposition="left" />
			</td></tr>
			<tr><td><s:textfield label="%{getText('record.BDescription')}" name="bd.BDescription" required="true" requiredposition="left" /></td></tr>
			<tr>
				<td>
					<s:submit value="%{getText('record.submit')}" />
					<s:reset value="%{getText('record.reset')}" />
				</td>
			</tr>
		</table>
		<a href="<s:url includeParams="none" namespace="/" action="user/details_transaction" >
  					<s:param name="trId"><s:property value="newBD_trId" /></s:param></s:url>">
			<s:text name="backto_details_TR" />
		</a>				
	</s:form>
	</s:if>
	<br />
  </body>
</html>
